To Do

# Modify:20241126,Author:雨飞

基本使用

1.创建一个笔记文件,例如Anote,该笔记添加标签 #initTodo

2.展开插件To Do→Scripts→jobs,打开init笔记,运行此脚本;

3.经过以上操作后,在新创建的笔记Anote下面会生成如下结构;

4.在Anote子目录中,选中In Progress或Backlog,右键选择Task模版创建笔记。

5.在新笔记中,填写计划完成时间dueDate。

6.笔记会根据日期completedDate信息自动移动到其它对应的目录中。

进阶使用

1.Timeline中显示Backlog,In Progress,Done中包含计划完成时间的dueDate子项,其中执行中的显示绿色

2.Tags 支持以下两种参数:

  • badgeBackground
  • badgeColor

3.展开插件To Do→Scripts→shared,打开addButtonToToolbar笔记,运行此脚本,可在左侧快捷工具栏添加一个创建新待办的按钮;

4.Description的使用:根据issue页面说明,增加了addDescription

正文部分添加“---”,生成横线,横线上面填写说明文字,点击“addDescription”,可将说明文字添加至标签内。

说明

1.该工具出自:https://github.com/zadam/trilium/discussions/2946

2.该工具代码已经修改,主要功能均可正常使用。

3.已知Timeline中的工具栏不生效。


插件原作者使用说明


Create a note anywhere, add the #initTodo label, reload the front-end or restart Trilium.

  • The note with the label will be the root of your to-do list.
  • You can create multiple lists at the same time
  • Completed tasks will be archived automatically after 7 days.
  • The time spent tracking works based on minutes. If you work on a task for less than that, it won't track anything.

To Do

  - To Do (root)
     - Archive
     - Backlog
     - Done
     - In Progress
     - Tags
  • Archive - Completed tasks archived by year / month / day
  • Backlog - Tasks on hold to be worked on
  • Done - Nothing more to say, just good job!
  • In Progress - Good session!
  • Tags - It's tags, what else I could say? You could use this in every way you want. Separate tasks by priority (low and high)? As a separator for each app in a single to-do list? As status like bug, enhancement? The version you plan to release it? The sprint?
    • Tags can be customized, adding an attribute to the tag note.
      • badgeBackground
      • badgeColor